Skip to content

[WIP] Use weak aliases for the allocator shim #142366

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

bjorn3
Copy link
Member

@bjorn3 bjorn3 commented Jun 11, 2025

No description provided.

@rustbot
Copy link
Collaborator

rustbot commented Jun 11, 2025

r? @SparrowLii

rustbot has assigned @SparrowLii.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Jun 11, 2025
@rustbot
Copy link
Collaborator

rustbot commented Jun 11, 2025

Some changes occurred in compiler/rustc_codegen_ssa

cc @WaffleLapkin

Some changes occurred in coverage instrumentation.

cc @Zalathar

@bjorn3
Copy link
Member Author

bjorn3 commented Jun 11, 2025

@bors2 try jobs=x86_64-msvc-1,x86_64-msvc-2

rust-bors bot added a commit that referenced this pull request Jun 11, 2025
[WIP] Use weak aliases for the allocator shim

try-job: x86_64-msvc-1
try-job: x86_64-msvc-2
@rust-bors
Copy link

rust-bors bot commented Jun 11, 2025

⌛ Trying commit 570b0f8 with merge 338bf41

To cancel the try build, run the command @bors2 try cancel.

@rust-log-analyzer

This comment has been minimized.

@bjorn3
Copy link
Member Author

bjorn3 commented Jun 11, 2025

@bors2 try cancel

forgot to fix warnings....

@bors2 try jobs=x86_64-msvc-1,x86_64-msvc-2

@rust-bors
Copy link

rust-bors bot commented Jun 11, 2025

Try build cancelled. Cancelled workflows:

@rust-bors
Copy link

rust-bors bot commented Jun 11, 2025

⌛ Trying commit efcccbb with merge 80daa8c

To cancel the try build, run the command @bors2 try cancel.

rust-bors bot added a commit that referenced this pull request Jun 11, 2025
[WIP] Use weak aliases for the allocator shim

try-job: x86_64-msvc-1
try-job: x86_64-msvc-2
@rust-log-analyzer

This comment has been minimized.

@rust-bors
Copy link

rust-bors bot commented Jun 11, 2025

💔 Test failed

@bjorn3
Copy link
Member Author

bjorn3 commented Jun 12, 2025

@bors2 try jobs=x86_64-msvc-1,x86_64-msvc-2

@rust-bors
Copy link

rust-bors bot commented Jun 12, 2025

⌛ Trying commit 8290684 with merge 850f0cb

To cancel the try build, run the command @bors2 try cancel.

rust-bors bot added a commit that referenced this pull request Jun 12, 2025
[WIP] Use weak aliases for the allocator shim

try-job: x86_64-msvc-1
try-job: x86_64-msvc-2
@rust-log-analyzer

This comment has been minimized.

@rust-bors
Copy link

rust-bors bot commented Jun 12, 2025

💔 Test failed

@rustbot
Copy link
Collaborator

rustbot commented Jun 12, 2025

Some changes occurred in compiler/rustc_codegen_gcc

cc @antoyo, @GuillaumeGomez

@bjorn3
Copy link
Member Author

bjorn3 commented Jun 12, 2025

@bors2 try jobs=x86_64-msvc-1,x86_64-msvc-2

@rust-bors
Copy link

rust-bors bot commented Jun 12, 2025

⌛ Trying commit 1088bcc with merge d0644da

To cancel the try build, run the command @bors2 try cancel.

rust-bors bot added a commit that referenced this pull request Jun 12, 2025
[WIP] Use weak aliases for the allocator shim

try-job: x86_64-msvc-1
try-job: x86_64-msvc-2
@rust-log-analyzer

This comment has been minimized.

@rust-bors
Copy link

rust-bors bot commented Jun 12, 2025

💔 Test failed

@bjorn3
Copy link
Member Author

bjorn3 commented Jun 12, 2025

All test failures seem to involve LTO. I suspect that the __rdl_* symbols were internalized by LTO and thus can't be used by the linker to resolve the weak aliases for __rust_*.

@bjorn3
Copy link
Member Author

bjorn3 commented Jun 12, 2025

@bors2 try jobs=x86_64-msvc-1,x86_64-msvc-2

@bjorn3
Copy link
Member Author

bjorn3 commented Jun 12, 2025

So close...

2025-06-12T17:49:37.7537114Z failures:
2025-06-12T17:49:37.7537340Z     [ui] tests\ui\linking\executable-no-mangle-strip.rs
2025-06-12T17:49:37.7537555Z 
2025-06-12T17:49:37.7537844Z test result: FAILED. 18922 passed; 1 failed; 280 ignored; 0 measured; 21 filtered out; finished in 1053.11s

The exit code is STATUS_DLL_NOT_FOUND, no idea why stripping breaks things.

@bors
Copy link
Collaborator

bors commented Jun 14, 2025

☔ The latest upstream changes (presumably #142259) made this pull request unmergeable. Please resolve the merge conflicts.

@bjorn3 bjorn3 force-pushed the aliases branch 2 times, most recently from 20703f1 to 3564f58 Compare June 16, 2025 09:06
@bjorn3
Copy link
Member Author

bjorn3 commented Jun 16, 2025

Cleaned up a bit. Let's see if it didn't regress anything.

@bors2 try

@rust-bors
Copy link

rust-bors bot commented Jun 16, 2025

⌛ Trying commit 3564f58 with merge f54aab1

To cancel the try build, run the command @bors2 try cancel.

rust-bors bot added a commit that referenced this pull request Jun 16, 2025
[WIP] Use weak aliases for the allocator shim
@bjorn3
Copy link
Member Author

bjorn3 commented Jun 16, 2025

@bors2 try cancel
@bors2 try jobs=x86_64-msvc-1,x86_64-msvc-2

@rust-bors
Copy link

rust-bors bot commented Jun 16, 2025

Try build cancelled. Cancelled workflows:

@rust-bors
Copy link

rust-bors bot commented Jun 16, 2025

⌛ Trying commit 3564f58 with merge d373baf

To cancel the try build, run the command @bors2 try cancel.

rust-bors bot added a commit that referenced this pull request Jun 16, 2025
[WIP] Use weak aliases for the allocator shim

try-job: x86_64-msvc-1
try-job: x86_64-msvc-2
@rust-log-analyzer

This comment has been minimized.

@rust-bors
Copy link

rust-bors bot commented Jun 16, 2025

💔 Test failed

rust-bors bot added a commit that referenced this pull request Jun 16, 2025
Use the .drectve section for exporting symbols from dlls on Windows

While it would be reasonable to expect the Windows linker to handle linker args in the .drectve section identical to cli arguments, as it turns out exporting weak symbols only works when the /EXPORT is in the .drectve section, not when it is a linker argument or when a .DEF file is used.

Necessary for and extracted out of #142366.

Thanks `@dpaoliello` for figuring out this weird quirk of link.exe!
try-job: x86_64-msvc-1
try-job: x86_64-msvc-2
rust-bors bot added a commit that referenced this pull request Jun 16, 2025
Use the .drectve section for exporting symbols from dlls on Windows

While it would be reasonable to expect the Windows linker to handle linker args in the .drectve section identical to cli arguments, as it turns out exporting weak symbols only works when the /EXPORT is in the .drectve section, not when it is a linker argument or when a .DEF file is used.

Necessary for and extracted out of #142366.

Thanks `@dpaoliello` for figuring out this weird quirk of link.exe!
try-job: x86_64-msvc-1
try-job: x86_64-msvc-2
rust-bors bot added a commit that referenced this pull request Jun 17, 2025
Use the .drectve section for exporting symbols from dlls on Windows

While it would be reasonable to expect the Windows linker to handle linker args in the .drectve section identical to cli arguments, as it turns out exporting weak symbols only works when the /EXPORT is in the .drectve section, not when it is a linker argument or when a .DEF file is used.

Necessary for and extracted out of #142366.

Thanks `@dpaoliello` for figuring out this weird quirk of link.exe!
try-job: x86_64-msvc-1
try-job: x86_64-msvc-2
bjorn3 and others added 3 commits June 17, 2025 11:41
While it would be reasonable to expect the Windows linker to handle
linker args in the .drectve section identical to cli arguments, as it
turns out exporting weak symbols only works when the /EXPORT is in the
.drectve section, not when it is a linker argument or when a .DEF file
is used.
@bjorn3
Copy link
Member Author

bjorn3 commented Jun 17, 2025

Rebased on top of #142568 which should have fixed the last remaining MSVC issue. MinGW is still broken because of ld.bfd having broken weak symbol handling.

@bors2 try jobs=x86_64-msvc-1,x86_64-msvc-2

@rust-bors
Copy link

rust-bors bot commented Jun 17, 2025

⌛ Trying commit d4526ac with merge 1548de1

To cancel the try build, run the command @bors2 try cancel.

rust-bors bot added a commit that referenced this pull request Jun 17, 2025
[WIP] Use weak aliases for the allocator shim

try-job: x86_64-msvc-1
try-job: x86_64-msvc-2
@bjorn3
Copy link
Member Author

bjorn3 commented Jun 17, 2025

Actually, maybe #134522 is the better approach after all. It doesn't need an extra attribute for specifying the symbol aliasing and as it turns out weak definitions are implemented by LLVM as weak symbol aliases on Windows anyway. #142568 should fix that PR for MSVC too and for MinGW it has the same issue as this PR.

@bors2 try cancel

@rust-bors
Copy link

rust-bors bot commented Jun 17, 2025

Try build cancelled. Cancelled workflows:

@bjorn3 bjorn3 marked this pull request as draft June 17, 2025 11:49
@bjorn3 bjorn3 added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jun 17, 2025
@rust-log-analyzer
Copy link
Collaborator

The job mingw-check-1 failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
[RUSTC-TIMING] addr2line test:false 1.265
[RUSTC-TIMING] object test:false 12.239
error: linking with `i686-w64-mingw32-gcc` failed: exit status: 1
  |
  = note:  "i686-w64-mingw32-gcc" "-Wl,/tmp/rustcOEY5B5/list.def" "-fno-use-linker-plugin" "-Wl,--dynamicbase" "-Wl,--disable-auto-image-base" "-Wl,--large-address-aware" "<sysroot>/lib/rustlib/i686-pc-windows-gnu/lib/rsbegin.o" "/tmp/rustcOEY5B5/symbols.o" "<1 object files omitted>" "/tmp/rustcOEY5B5/rmeta.o" "<1 object files omitted>" "-Wl,-Bdynamic" "-lkernel32" "-lkernel32" "-Wl,-Bstatic" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/{libpanic_unwind-2295884c52a74b70.rlib,libobject-bfa4f6ef486c626a.rlib,libmemchr-a5643f244fbc2a53.rlib,libaddr2line-a810abc57d0ac5d3.rlib,libgimli-7401a79f2b5880a0.rlib,libwindows_targets-d4e4106fab9543be.rlib,librustc_demangle-e0d2579dc46376dd.rlib,libstd_detect-c68a7329935d99bb.rlib,libhashbrown-634801fe59bf3526.rlib,librustc_std_workspace_alloc-b983308fce937ae3.rlib,libminiz_oxide-c433431c9f8aecf2.rlib,libadler2-e61283331aa7ca6b.rlib,libunwind-327bdb6dbc4574de.rlib,libcfg_if-2396dad490ba6caa.rlib,liblibc-6b81ebba25c6a146.rlib,librustc_std_workspace_core-ddeef22dd5599fb6.rlib,liballoc-7aa6d81818b7d438.rlib,libcore-f257a8d6a35d1f7b.rlib,libcompiler_builtins-38d8db4a4d3bf502.rlib}.rlib" "-Wl,-Bdynamic" "-lntdll" "-luserenv" "-lws2_32" "-ldbghelp" "/tmp/rustcOEY5B5/bcryptprimitives.dll_imports.lib" "/tmp/rustcOEY5B5/api-ms-win-core-synch-l1-2-0.dll_imports.lib" "-lgcc_s" "-lmsvcrt" "-lmingwex" "-lmingw32" "-lgcc" "-lmsvcrt" "-lmingwex" "-luser32" "-lkernel32" "-Wl,--nxcompat" "-L" "<sysroot>-std/i686-pc-windows-gnu/release/build/compiler_builtins-4cc828bff9a01299/out" "-o" "<sysroot>-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.dll" "-shared" "-Wl,--out-implib=<sysroot>-std/i686-pc-windows-gnu/release/deps/libstd-1968811ba80472c7.dll.a" "-Wl,-O1" "-nodefaultlibs" "<sysroot>/lib/rustlib/i686-pc-windows-gnu/lib/rsend.o"
  = note: some arguments are omitted. use `--verbose` to show all linker arguments
  = note: Warning: corrupt .drectve at end of def file
          Warning: corrupt .drectve at end of def file
          /usr/bin/i686-w64-mingw32-ld: cannot export _RNvCs2aHdoKDEKlP_7___rustc12___rust_alloc: symbol not defined
          /usr/bin/i686-w64-mingw32-ld: cannot export _RNvCs2aHdoKDEKlP_7___rustc14___rust_dealloc: symbol not defined
          /usr/bin/i686-w64-mingw32-ld: cannot export _RNvCs2aHdoKDEKlP_7___rustc14___rust_realloc: symbol not defined
          /usr/bin/i686-w64-mingw32-ld: cannot export _RNvCs2aHdoKDEKlP_7___rustc19___rust_alloc_zeroed: symbol not defined
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x1880): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x1b50): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x2071): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x21b4): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x2202): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x2362): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x23b5): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x2501): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x25f4): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x2682): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x2852): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x2a22): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x2f7f): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x306f): more undefined references to `__rustc::__rust_dealloc' follow
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x27304): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x273b4): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x28a51): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x28e37): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x296d7): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x2aa35): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x2ac5a): undefined reference to `__rustc::__rust_realloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x2ac76): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x2b0b6): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x2b534): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x2b686): undefined reference to `__rustc::__rust_realloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x2b6a4): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x31c2c): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x35a5f): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x35adf): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x35b6d): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x35bf7): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x35c7b): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x35cff): more undefined references to `__rustc::__rust_dealloc' follow
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x3b204): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x3b59b): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x3c132): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x40123): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x43604): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x48483): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x484b8): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x48adf): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x490c1): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x4ac89): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x4b153): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x4b1b5): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x4b40f): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x4d652): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x4f749): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x50749): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x53493): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x53e50): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x53f30): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x56d11): more undefined references to `__rustc::__rust_alloc' follow
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x571e5): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x57e3d): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x588c6): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x5b1b7): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x5b335): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x5b4df): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x5df16): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x60185): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x60532): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x605f8): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x60657): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x60799): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x607b8): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x64fff): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x6502e): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x65921): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x659ce): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x6bff6): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x7079b): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x70853): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x72519): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x72688): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x729f9): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x73b4e): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x73bcb): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x7550f): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x76f3c): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-1968811ba80472c7.std.ec34576fb66855f3-cgu.0.rcgu.o:std.ec34576fb66855:(.text+0x77555): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/libpanic_unwind-2295884c52a74b70.rlib(panic_unwind-2295884c52a74b70.panic_unwind.1828f19f18a14dd-cgu.0.rcgu.o):panic_unwind.1828f:(.text+0x35): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/libpanic_unwind-2295884c52a74b70.rlib(panic_unwind-2295884c52a74b70.panic_unwind.1828f19f18a14dd-cgu.0.rcgu.o):panic_unwind.1828f:(.text+0xcb): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/libpanic_unwind-2295884c52a74b70.rlib(panic_unwind-2295884c52a74b70.panic_unwind.1828f19f18a14dd-cgu.0.rcgu.o):panic_unwind.1828f:(.text+0x157): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/libpanic_unwind-2295884c52a74b70.rlib(panic_unwind-2295884c52a74b70.panic_unwind.1828f19f18a14dd-cgu.0.rcgu.o):panic_unwind.1828f:(.text+0x1cf): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/libpanic_unwind-2295884c52a74b70.rlib(panic_unwind-2295884c52a74b70.panic_unwind.1828f19f18a14dd-cgu.0.rcgu.o):panic_unwind.1828f:(.text+0x272): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/libpanic_unwind-2295884c52a74b70.rlib(panic_unwind-2295884c52a74b70.panic_unwind.1828f19f18a14dd-cgu.0.rcgu.o):panic_unwind.1828f:(.text+0x356): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/libobject-bfa4f6ef486c626a.rlib(object-bfa4f6ef486c626a.object.242bde84e24d59d9-cgu.0.rcgu.o):object.242bde84e24:(.text+0x1ea): undefined reference to `__rustc::__rust_realloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/libobject-bfa4f6ef486c626a.rlib(object-bfa4f6ef486c626a.object.242bde84e24d59d9-cgu.0.rcgu.o):object.242bde84e24:(.text+0x206): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/libobject-bfa4f6ef486c626a.rlib(object-bfa4f6ef486c626a.object.242bde84e24d59d9-cgu.0.rcgu.o):object.242bde84e24:(.text+0x316): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/libgimli-7401a79f2b5880a0.rlib(gimli-7401a79f2b5880a0.gimli.a75f87c243c264e4-cgu.0.rcgu.o):gimli.a75f87c243c2:(.text+0x22f): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/libgimli-7401a79f2b5880a0.rlib(gimli-7401a79f2b5880a0.gimli.a75f87c243c264e4-cgu.0.rcgu.o):gimli.a75f87c243c2:(.text+0x29a): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/libgimli-7401a79f2b5880a0.rlib(gimli-7401a79f2b5880a0.gimli.a75f87c243c264e4-cgu.0.rcgu.o):gimli.a75f87c243c2:(.text+0x2066): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/libgimli-7401a79f2b5880a0.rlib(gimli-7401a79f2b5880a0.gimli.a75f87c243c264e4-cgu.0.rcgu.o):gimli.a75f87c243c2:(.text+0x20cc): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/libgimli-7401a79f2b5880a0.rlib(gimli-7401a79f2b5880a0.gimli.a75f87c243c264e4-cgu.0.rcgu.o):gimli.a75f87c243c2:(.text+0x214d): undefined reference to `__rustc::__rust_realloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/libgimli-7401a79f2b5880a0.rlib(gimli-7401a79f2b5880a0.gimli.a75f87c243c264e4-cgu.0.rcgu.o):gimli.a75f87c243c2:(.text+0x215d): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/libgimli-7401a79f2b5880a0.rlib(gimli-7401a79f2b5880a0.gimli.a75f87c243c264e4-cgu.0.rcgu.o):gimli.a75f87c243c2:(.text+0x2288): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/libgimli-7401a79f2b5880a0.rlib(gimli-7401a79f2b5880a0.gimli.a75f87c243c264e4-cgu.0.rcgu.o):gimli.a75f87c243c2:(.text+0x2554): undefined reference to `__rustc::__rust_alloc_zeroed'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/libgimli-7401a79f2b5880a0.rlib(gimli-7401a79f2b5880a0.gimli.a75f87c243c264e4-cgu.0.rcgu.o):gimli.a75f87c243c2:(.text+0x2569): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/liballoc-7aa6d81818b7d438.rlib(alloc-7aa6d81818b7d438.alloc.27e5ff322b00fc84-cgu.0.rcgu.o):alloc.27e5ff322b00:(.text+0x21f): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/liballoc-7aa6d81818b7d438.rlib(alloc-7aa6d81818b7d438.alloc.27e5ff322b00fc84-cgu.0.rcgu.o):alloc.27e5ff322b00:(.text+0x2cb): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/liballoc-7aa6d81818b7d438.rlib(alloc-7aa6d81818b7d438.alloc.27e5ff322b00fc84-cgu.0.rcgu.o):alloc.27e5ff322b00:(.text+0xbfa): undefined reference to `__rustc::__rust_realloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/liballoc-7aa6d81818b7d438.rlib(alloc-7aa6d81818b7d438.alloc.27e5ff322b00fc84-cgu.0.rcgu.o):alloc.27e5ff322b00:(.text+0xc16): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/liballoc-7aa6d81818b7d438.rlib(alloc-7aa6d81818b7d438.alloc.27e5ff322b00fc84-cgu.0.rcgu.o):alloc.27e5ff322b00:(.text+0xde5): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/liballoc-7aa6d81818b7d438.rlib(alloc-7aa6d81818b7d438.alloc.27e5ff322b00fc84-cgu.0.rcgu.o):alloc.27e5ff322b00:(.text+0x1094): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/liballoc-7aa6d81818b7d438.rlib(alloc-7aa6d81818b7d438.alloc.27e5ff322b00fc84-cgu.0.rcgu.o):alloc.27e5ff322b00:(.text+0x12fa): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/liballoc-7aa6d81818b7d438.rlib(alloc-7aa6d81818b7d438.alloc.27e5ff322b00fc84-cgu.0.rcgu.o):alloc.27e5ff322b00:(.text+0x1540): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/liballoc-7aa6d81818b7d438.rlib(alloc-7aa6d81818b7d438.alloc.27e5ff322b00fc84-cgu.0.rcgu.o):alloc.27e5ff322b00:(.text+0x1647): more undefined references to `__rustc::__rust_alloc' follow
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/liballoc-7aa6d81818b7d438.rlib(alloc-7aa6d81818b7d438.alloc.27e5ff322b00fc84-cgu.0.rcgu.o):alloc.27e5ff322b00:(.text+0x3be2): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/liballoc-7aa6d81818b7d438.rlib(alloc-7aa6d81818b7d438.alloc.27e5ff322b00fc84-cgu.0.rcgu.o):alloc.27e5ff322b00:(.text+0x3cbe): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/liballoc-7aa6d81818b7d438.rlib(alloc-7aa6d81818b7d438.alloc.27e5ff322b00fc84-cgu.0.rcgu.o):alloc.27e5ff322b00:(.text+0x3dc9): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/liballoc-7aa6d81818b7d438.rlib(alloc-7aa6d81818b7d438.alloc.27e5ff322b00fc84-cgu.0.rcgu.o):alloc.27e5ff322b00:(.text+0x4241): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/liballoc-7aa6d81818b7d438.rlib(alloc-7aa6d81818b7d438.alloc.27e5ff322b00fc84-cgu.0.rcgu.o):alloc.27e5ff322b00:(.text+0x494d): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/liballoc-7aa6d81818b7d438.rlib(alloc-7aa6d81818b7d438.alloc.27e5ff322b00fc84-cgu.0.rcgu.o):alloc.27e5ff322b00:(.text+0x521b): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/liballoc-7aa6d81818b7d438.rlib(alloc-7aa6d81818b7d438.alloc.27e5ff322b00fc84-cgu.0.rcgu.o):alloc.27e5ff322b00:(.text+0x53bb): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/liballoc-7aa6d81818b7d438.rlib(alloc-7aa6d81818b7d438.alloc.27e5ff322b00fc84-cgu.0.rcgu.o):alloc.27e5ff322b00:(.text+0x60fc): undefined reference to `__rustc::__rust_realloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/liballoc-7aa6d81818b7d438.rlib(alloc-7aa6d81818b7d438.alloc.27e5ff322b00fc84-cgu.0.rcgu.o):alloc.27e5ff322b00:(.text+0x615f): undefined reference to `__rustc::__rust_dealloc'
          collect2: error: ld returned 1 exit status
          
  = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
  = note: use the `-l` flag to specify native libraries to link
  = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants